home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / hdstrp.arc / HDSTRP.DOC < prev   
Encoding:
Text File  |  1985-10-26  |  2.9 KB  |  68 lines

  1.  
  2.  
  3. HEADERSTRIP v.1.0 Copyright (C) 1985 Conrad S. Kageyama, 25 October 1985
  4.  
  5. Not for commercial use or commercial gain.  Intended solely for use in the
  6. public domain.
  7.  
  8.  
  9.  
  10. PROLOGUE:
  11.  
  12. When a hard drive is backed up using DOS's BACKUP.COM, the resulting files on
  13. the backup diskettes are unusable because DOS attaches a 128 byte header to
  14. the front of each file, which tells BACKUP/RESTORE where the file belongs on
  15. the hard disk.  It was recently pointed out that even if you are backed up
  16. religiously, if your hard disk fails, then you are still down for the
  17. duration since those files are useless as is.
  18.  
  19. The result of this comment is HEADERSTRIP (HDRSTRIP.COM), which will strip
  20. out that 128 byte header and write the file back to disk in usable form.
  21. Version 1.0 is a quick and dirty Turbo Pascal program with no bells and
  22. whistles, but it does work and will save the day if you need the files.  The
  23. source code is very small, but because of the overhead of a compiled library,
  24. the file is still some 11K big.  An assembly language program would be much
  25. smaller and much more economical in terms of storage.  If no assembly
  26. language programmer picks up the ball and writes a tighter program, then time
  27. permitting, and if there is demand, I will enhance HEADERSTRIP to make the
  28. operation more automatic.  In the meanwhile, though, as stated above,
  29. HEADERSTRIP does work as is, though as with all public domain software, there
  30. are no guarantees, implied or otherwise.  Work **ONLY** with copies of your
  31. backup files.  Use HEADERSTRIP at your own risk.
  32.  
  33.  
  34. INSTRUCTIONS:
  35.  
  36.     1.  COPY the needed file from your backup diskette to another diskette.
  37.  
  38.              **DO NOT** work with your original backup diskette.
  39.  
  40.     2.  REName the COPY'ed file to some other name; any name will do, i.e.,
  41.         "filename.bak".
  42.  
  43.     3.  Invoke HEADERSTRIP by doing HDRSTRIP <enter> at the DOS prompt.
  44.  
  45.     4.  HEADERSTRIP will now ask you for the Input filename.  Respond with
  46.         whatever filename you chose, including a drive designator, i.e.,
  47.         "b:filename.bak", and hit <enter>.
  48.  
  49.     5.  HEADERSTRIP will now query you for the Output filename.  Respond with
  50.         the true filename, including a drive designator, i.e.,
  51.         "b:filename.com", or whatever, and hit <enter>.
  52.  
  53.     6.  HEADERSTRIP will now process the input file, strip out the 128 byte
  54.         DOS backup header, and write the file back to disk.  The resultant
  55.         output file is now usable.
  56.  
  57.     7.  The resultant output file may differ in filesize from the original
  58.         file on the hard drive depending on how the end of file is handled in
  59.         the original, and due to padding at the end of the file, but the
  60.         output file should be functionally okay.
  61.  
  62.  
  63. Enjoy!!!...
  64.  
  65. Conrad S. Kageyama
  66. Sysop, CIS IBM PC SIG
  67. CIS 76703,1010
  68.